//使用mysql中间件连接MySQL数据库
var mysql = require('mysql');
var baseConfig = require('../config');

const connection = mysql.createConnection(baseConfig.mysql.myBlog);

module.exports = connection;
